Skip to content

Fix issues with copying Android files from Packages #709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

a-maurice
Copy link
Collaborator

Unity 6 no longer includes that @version part for the Packages in Library/PackageCache/packageid@version, so handle both cases.

When installing a UPM package from a local directory, https://docs.unity3d.com/Manual/upm-ui-local.html, it was failing to relocate any srcaar files to the generated folder as aars because the path was not as expected, so change it to search for the m2repository part of the path and do it based on that.

Fixes #697 and #701

@a-maurice a-maurice merged commit f68ab8a into master Sep 17, 2024
3 checks passed
@a-maurice a-maurice deleted the am-package_paths branch September 17, 2024 20:52
@googlesamples googlesamples locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Android resolver fails to copy aar files from local maven repository provided from packages (Unity 6).
2 participants